from pydantic import BaseModel


class HelloRequest(BaseModel):
    name: str
    age: int = 18  # 默认值为18

class HelloResponse(BaseModel):
    code : int = 200
    message: str

